<?php
/*=============================================================================
|| ##################################################################
||	phpFoX Konsort
|| ##################################################################
||	
||	Copyright		: (C) 2005-2007 PHPFOX Limited a Reality Fox Creation
||	Contact			: info@phpfox.com
||
||	- phpFoX and all of its source code and files are protected by Copyright Laws. 
||
||	- The license for phpFoX permits you to install this software on a single domain (.com, .org, .net, etc.). 
||
||	- You may also not remove this copyright screen which shows the copyright information and credits for phpFoX (RealityFOX Creations). 
||
||	- phpFoX Konsort is NOT a FREE software - http://www.phpfox.com/license/
||
|| ##################################################################
=============================================================================*/

/* $File: ./include/modules/Admin/include/module.sett.php, $Author:  $ */

/** Settings for module admin
 * @package module.admin
 * @version $Id: module.sett.php 337 2008-02-17 13:36:37Z phpfoxsv $
 */
global $_CONF;

$_CONF['Mod_Admin.config_blocks'] = array
(
    'site'    => 'Mod_Admin.config.site',
    'image'   => 'Mod_Admin.config.image',
    'gd'      => 'Mod_Admin.config.gd',
    'section' => 'Mod_Admin.config.section',
    'profile' => 'Mod_Admin.config.profile',
    'pay'     => 'Mod_Admin.config.pay',
    'signup'     => 'Mod_Admin.config.signup',
    'video'     => 'Mod_Admin.config.video',
    'ffmpeg'     => 'Mod_Admin.config.ffmpeg',
);

$_CONF['Mod_Admin.config_validation'] = array();
$_CONF['Mod_Admin.config_validation']['site_email'] = array
(
    'title' => 'Mod_Admin.param.site_email',
    'def'   => 'email',
);
$_CONF['Mod_Admin.config_validation']['contact_us_emails'] = array
(
    'title' => 'Mod_Admin.param.contact_us_emails',
    'def'   => 'email_mult',
);

$_CONF['Mod_Admin.content_pages'] = array();

$_CONF['Mod_Admin.content_pages']['main'] = array
(
    'Mod_Admin.terms_conditions' => array('dir' => 'language', 'file' => 'terms'),
    'Mod_Admin.help_guide'       => array('dir' => 'language', 'file' => 'help'),
    'Mod_Admin.about_us'         => array('dir' => 'language', 'file' => 'about_us'),
    'Mod_Admin.get_involved'     => array('dir' => 'language', 'file' => 'get_involved'),
    'Mod_Admin.subscribe_page'   => array('dir' => 'language',  'file' => 'subscribe'),
    'Mod_Admin.welcome_intro'    => array('dir' => 'language',  'file' => 'welcome_intro'),
    'Mod_Admin.news_annoucement' => array('dir' => 'language',  'file' => 'news'),
    'Mod_Admin.welcome_note'     => array('dir' => 'language', 'file' => 'welcome_note'), 
);

$_CONF['Mod_Admin.content_pages']['email'] = array
(
    'Mod_Admin.main_layout'        => array('dir' => 'language', 'file' => 'email_layout'),
    'Mod_Admin.new_comment'        => array('dir' => 'language', 'file' => 'email_comment'),
    'Mod_Admin.crush_alert'        => array('dir' => 'language', 'file' => 'email_crush'),
    'Mod_Admin.forum_reply'        => array('dir' => 'language', 'file' => 'email_forum'),
    'Mod_Admin.invite_mail'        => array('dir' => 'language', 'file' => 'email_invite'),
    'Mod_Admin.lost_password'      => array('dir' => 'language', 'file' => 'email_lost_password'),
    'Mod_Admin.friends_request'    => array('dir' => 'language', 'file' => 'email_newbuddy'),
    'Mod_Admin.new_message'        => array('dir' => 'language', 'file' => 'email_newmail'),
    'Mod_Admin.quote_reply'        => array('dir' => 'language', 'file' => 'email_quote'),
    'Mod_Admin.membership_expires' => array('dir' => 'language', 'file' => 'email_membership_expires'),
);

$_CONF['Mod_Admin.content_pages']['dropdown'] = array
(
    'Mod_Admin.mood_list'        => array('dir' => 'language', 'file' => 'jmood'),
    'Mod_Admin.country_list'     => array('dir' => 'language', 'file' => 'country'),
    'Mod_Admin.events_list'      => array('dir' => 'language', 'file' => 'event_items'),
    'Mod_Admin.image_cat'        => array('dir' => 'language', 'file' => 'image_cat'),
);

$sImageRewrite = 'RewriteRule ^file/pic/gallery/([0-9a-z_]+)\.([a-z]+)$ <SUB_FOLDER>index.php?do=/data/module_gallery/file_$1/type_$2 [L]' . "\n";
$sImageRewrite .= 'RewriteRule ^file/pic/gallery/thumb/([0-9a-z]+)\.([a-z]+)$ <SUB_FOLDER>index.php?do=/data/module_gallery-thumb/file_$1/type_$2 [L]' . "\n";
$sImageRewrite .= 'RewriteRule ^file/pic/groups/gallery/([0-9a-z_]+)\.([a-z]+)$ <SUB_FOLDER>index.php?do=/data/module_groups/file_$1/type_$2 [L]' . "\n";
$sImageRewrite .= 'RewriteRule ^file/pic/groups/gallery/thumb/([0-9a-z]+)\.([a-z]+)$ <SUB_FOLDER>index.php?do=/data/module_groups-thumb/file_$1/type_$2 [L]';

$_CONF['Mod_Admin.protect_rewrite'] = array
(
	'music' => 'RewriteRule ^file/music_folder/([0-9a-z_]+)\.([a-z0-9]+)$ <SUB_FOLDER>index.php?do=/data/module_music/file_$1/type_$2 [L]',
	'video' => 'RewriteRule ^file/videos/src/([0-9a-z_]+)\.([a-z0-9]+)$ <SUB_FOLDER>index.php?do=/data/module_video/file_$1/type_$2 [L]',
	'image' => $sImageRewrite
);

?>